package net.servir.capacidades.web.controller;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import net.servir.capacidades.service.CapacidadesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ErrorFiliacionController {
	@Autowired
	private CapacidadesService capacidadesService;
	@RequestMapping("/errorFiliacion.htm")
	public @ModelAttribute("errorFiliacion")
	
	
	List  errorFiliacion(HttpServletRequest request) {		
		HttpSession sesion = request.getSession();
		sesion.invalidate();
	
		return null;
	}
}
